package com.example.test;

import java.math.BigDecimal;
import java.util.stream.IntStream;

/**
 * @author shanchong
 * @date 2021/2/20
 **/
public class Bit {

    public static void main(String[] args) {
//        System.out.println(1<<30);
//        double sqrt = Math.sqrt(1 << 30);
//        System.out.println(sqrt);
//        int i = 29;
//        System.out.println(Integer.toBinaryString(i));
//        System.out.println(Integer.toBinaryString(i >>>16));
//        System.out.println(Integer.toBinaryString(i >>16));
//        System.out.println(Integer.toBinaryString((i >>>16)^ i));
        IntStream.range(0,Integer.MAX_VALUE).forEach(j->{
//            int j = 9292333;
//            System.out.println(j%16);
            if ((j%16) != (j & (16-1))) {
                System.out.println("ssssssss");
            }
//            System.out.println("kkkkkkk");
        });

    }
}
